package iedcyt.acute.controller.listeners.authorMerge;

import iedcyt.acute.model.AuthorMergeModel;
import iedcyt.acute.view.AuthorMergeView;

import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Listener;

public class CacheCheckSelectionListener extends AuthorMergeCommonListener implements Listener {

	
	
	public CacheCheckSelectionListener(AuthorMergeView view, AuthorMergeModel model) {
		super(view, model);
		
	}

	public void handleEvent(Event event) {

		_model.setCacheOn(!_view.getIgnoreCache());
		
		this.updateAuthors();
		this.updateCandidates();
		this.updateAllAuthorInfo();
		this.updateAllCandidateInfo();
	}

	

}
